<?php
require_once "config.php";
require_once 'class/class.phpmailer.php';
require_once 'extranet_utils.php';
//error_reporting(false);
//$memberobj=new Member();

$en_key='Oi56TCVH@#%^&*TFf78@hey@2';
$enc = new Encryption();
//echo "<br>member_id: ".$_SESSION['member_id'];
$enc_member_id = $enc->encrypt($en_key, $_SESSION['member_id']);
$share_url="http";
if ($_SERVER["HTTPS"] == "on") {$share_url .= "s";}
$share_url .= "://";
$share_url .= $_SERVER["SERVER_NAME"]."?k=".$enc_member_id;

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hotels With Offers</title>
<script language="Javascript" type="text/javascript" src="js/jquery-1.4.1.js"></script>
<script language="Javascript" type="text/javascript" src="js/jquery.lwtCountdown-1.0.js"></script>
<script language="Javascript" type="text/javascript" src="js/misc.js"></script>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.validate.js"></script>


</head>

<body>
<div id="wrapper">
    <?php require_once 'top_header.php'; ?>    
<div class="contentPane">
  <div id="sidebar">
    <span class="menu"><img src="images/call.png" alt="Advertise with Hotel with Offers" class="callus"  /></span>
    <div class="joinus">
      <h1>INVITE A FRIEND</h1>
      <h2>Tell a friend and win Rs100.00</h2>
      <div class="joinbtn"><a href="#">LEARN&nbsp;MORE</a></div>
     </div>
    <div class="reserve"><span class="reserveitem">Reserved for :</span> <span class="reserveitem">advertising</span> <span class="reserveitem">latest news</span> <span class="reserveitem">soon ending deals &amp; offers</span></div>
  </div>
  <div class="leftPane">
        <div class="mainMenu"><?php require_once 'main_menu.php'; ?></div>
        <?php require_once 'newsletter_plug.php'; ?>
        <div class="share_url">My Share Url: <?php echo $share_url; ?></div>
        <div>
            <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
            <a href="https://twitter.com/home/?status=<?php echo urlencode($share_url);?>"><img src="images/twitter_share_url.jpg" border="0"  /></a> <a href="" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php echo urlencode($share_url);?>','','width=800,height=450,left=200');return false;"><img src="images/fb_share_url.jpg" border="0" /></a> <g:plusone></g:plusone>
        </div>    
    <div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>
<div id="footerWrapper">
<?php require_once 'footer.php'; ?>
</div>
</body>
</html>
